package Control_Layer;

import Model_Layer.*;
import DB_Layer.*;

import java.util.ArrayList;

/***
 * OrderCTR.java
 * UCN dmaa0214 - October 2014 
 * 
 * @author Group 5 
 * @version 1.0
 * 
 */
public class OrderCTR {
	PersonCTR personCtr;
	ProductCTR productCtr;
	
	public OrderCTR(){
		this.personCtr = new PersonCTR();
		this.productCtr = new ProductCtr();
	}
	
	public void createCustomer(String name, String address, String email, String zipCode, String phoneNo, 
			String city, String country, String discount, char private_Business) {
		
		int cusID = 0;
		Customer newCustomer = new Customer();
		personCtr.createCustomer(cusID, name, address, email, zipCode, phoneNo, city, country, discount, private_Business);
		
		
	}
	
	public void addProduct(String name, String countryOfOrigin, String size, String color, String type, String description, String fabric, 
			String calibre, double purchasePrice, double salesPrice, double rentPrice, int supID, int minStock, int stock) {
		
		int proID = 0;
		
		productCtr.createProduct(name, countryOfOrigin, size, color, type, description, fabric, 
				calibre, purchasePrice, salesPrice, rentPrice, proID, supID, minStock, stock);
	}
	
	public void createOrder() {
		
	}
	
	public void addOrder() {
		
	}
	
	public void getOrder() {
		
	}
	
	public void getPart_Order() {
		
	}
	
	public void deletePart_Order() {
		
	}
	

}
